#include "RenderTarget.h"

namespace devii
{


RenderTarget::RenderTarget(const unsigned int width, const unsigned int height) : Texture(width, height)
{
	render_target = NULL;
}

RenderTarget::~RenderTarget()
{
	render_target->Release();
}

void RenderTarget::setRenderTarget(ID3D11RenderTargetView * const render_target)
{
	this->render_target = render_target;
}

ID3D11RenderTargetView * RenderTarget::getRenderTarget()
{
	return render_target;
}

}